package com.mmm.station.dao;

import com.mmm.station.entity.User;

import java.util.List;

/**
 * Created by mmm on 2016/11/8.
 */
public interface UserDao {

    List<User> selectList();


    User selectByName(String userName);

/*
    @Select("SELECT * FROM USER WHERE NAME = #{name}")
    User findByName(@Param("name") String name);

    @Insert("INSERT INTO USER(NAME, AGE) VALUES(#{name}, #{age})")
    int insert(@Param("name") String name, @Param("age") Integer age);
*/

}
